package com.asset.dispoal.company.api;

import com.asset.dispoal.company.dto.CompanyAreaStatisticsRequest;
import com.asset.dispoal.company.dto.CompanyAreaStatisticsResponse;
import com.asset.dispoal.company.dto.CompanyRequest;
import com.asset.dispoal.company.dto.CompanyResponse;
import com.asset.dispoal.company.dto.CompanySelectResponse;
import com.asset.dispoal.company.dto.CompanySelected;
import com.asset.dispoal.company.dto.PlaintiffCourtRequest;
import tech.mhuang.pacebox.springboot.protocol.Result;
import tech.mhuang.pacebox.springboot.protocol.data.PageVO;

import java.util.List;

/**
 * @author qr
 * @date 2022/2/15$
 */
public interface CompanyQueryService {

    Result<List<CompanyResponse>> findTree(CompanyRequest companyRequest);


    Result<PageVO<CompanyResponse>> queryPage(CompanyRequest companyRequest);

    Result<List<CompanySelectResponse>> queryCourtByPlaintiffId(PlaintiffCourtRequest request);

    Result<List<CompanySelected>> queryLawFirmSelectedCourt(String lawFirmId);

    Result<List<CompanySelected>> queryCourtSelectedCourt(String courtId);

    Result<List<CompanyAreaStatisticsResponse>> queryStatistics(CompanyAreaStatisticsRequest request);

    Result<List<CompanyResponse>> companyCourtList();
}
